package com.mineg.dao;

import com.mineg.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author MINEg
 * @date 2020/11/5 13:48
 */
public interface UserRepository extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username,String password);
}
